package com.maple.sharding.dao;

import com.maple.sharding.entity.FinancialOrderDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Description FinancialOrderDAO
 * @Date 2020/4/24 7:39
 * @Created by 王弘博
 */
@Mapper
public interface FinancialOrderDAO {

    void insert(FinancialOrderDO financialOrderDO);

    FinancialOrderDO selectById(String userId);

    FinancialOrderDO selectByOrderId(String orderId);

    FinancialOrderDO selectByUserId(String userId);

    FinancialOrderDO selectByUserIdAndOrderId(String userId,String orderId);
}
